<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>表单</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet"/>

</head>
<body>


<form class="layui-form" method="post" th:action="@{/seller/login}" style="width: 500px;margin: 50px auto;">


    <div class="layui-form-item">
        <label class="layui-form-label">电话号码</label>
        <div class="layui-input-inline">
            <input type="text" name="phonenumber" required lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-inline">
            <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
            <div class="layui-form-mid layui-word-aux" th:text="${errmsg}"></div>

        </div>

    </div>


    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">登录</button>
            <a href="/signup" class="layui-btn layui-btn-primary">注册</a>
        </div>
    </div>

</form>

<script th:src="@{/layui/layui.js}"></script>

</body>
</html>